﻿<UserControl x:Class="AesonXamlControls.Test.Views.CustomPopupContent.CustomPopupView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:prism="clr-namespace:Microsoft.Practices.Prism.Mvvm;assembly=Microsoft.Practices.Prism.Mvvm.Desktop"
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    
    <Grid  DataContext="{Binding Content}">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" ></RowDefinition>
            <RowDefinition Height="Auto" ></RowDefinition>
        </Grid.RowDefinitions>
        <Grid>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto" ></ColumnDefinition>
                <ColumnDefinition Width="10*" ></ColumnDefinition>
            </Grid.ColumnDefinitions>
            <Label Content="Name :" ></Label>
            <TextBlock Grid.Column="1" Text="{Binding Name}"   ></TextBlock>
        </Grid>
        <Grid Grid.Row="1"  >
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto" ></ColumnDefinition>
                <ColumnDefinition Width="10*" ></ColumnDefinition>
            </Grid.ColumnDefinitions>
            <Label Content="Email :" ></Label>
            <TextBlock Grid.Column="1" Text="{Binding Email}" ></TextBlock>
        </Grid>

    </Grid>
</UserControl>
